using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMType_VehicleBusiness
    {
        public static clsTMType_VehicleController cls = new clsTMType_VehicleController();

        #region[Get-Data]
        public DataTable BindGirdTMType_Vehicle()
        {
            return cls.BindGirdTMType_Vehicle();
        }
        public DataTable BindGirdTMType_Vehicle_Detail_Edit(int id)
        {
            return cls.BindGirdTMType_Vehicle_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMType_Vehicle(clsTMType_VehicleProperty obj)
        {
            return cls.InsertTMType_Vehicle(obj);
        }
        public static bool UpdateTMType_Vehicle(clsTMType_VehicleProperty obj)
        {
            return cls.UpdateTMType_Vehicle(obj);
        }
        public static bool DeleteTMType_Vehicle(int id)
        {
            return cls.DeleteTMType_Vehicle(id);
        }
        public bool TMType_Vehicle_Check_Delete_TMVehicle(int id)
        {
            return cls.TMType_Vehicle_Check_Delete_TMVehicle(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}